package com.dh.project.service.impl;

import com.baomidou.framework.service.impl.SuperServiceImpl;
import com.dh.project.mapper.EngineerPhoneMapper;
import com.dh.project.model.EngineerPhone;
import com.dh.project.model.PageModel;
import com.dh.project.service.EngineerPhoneService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by admin on 2017/4/13.
 */
@Service
public class EngineerPhoneServiceImpl extends SuperServiceImpl<EngineerPhoneMapper,EngineerPhone> implements EngineerPhoneService {

    @Autowired
    private EngineerPhoneMapper engineerPhoneMapper;

    @Override
    public List<EngineerPhone> selectEngineerPhoneListByMap(Map map) {
        return engineerPhoneMapper.selectEngineerPhoneListByMap(map);
    }

    @Override
    public PageModel selectEngineerPhoneListByMapCount(Map map) {
        return engineerPhoneMapper.selectEngineerPhoneListByMapCount(map);
    }
}
